// @ts-ignore
/* eslint-disable */
import request from '@/request'

/** getCommonInterviewExperienceList GET /api/get/interviewExperience/list */
export async function getCommonInterviewExperienceListUsingGet(options?: { [key: string]: any }) {
  return request<API.BaseResponseListGetCommonInterviewExperienceListResponse_>(
    '/api/get/interviewExperience/list',
    {
      method: 'GET',
      ...(options || {}),
    }
  )
}

/** getTecInterviewTechStackCount POST /api/getTecInterviewTechStackCount */
export async function getTecInterviewTechStackCountUsingPost(
  body: API.GetTecInterviewTechStackCountRequest,
  options?: { [key: string]: any }
) {
  return request<API.BaseResponseListGetTecInterviewTechStackCountResponse_>(
    '/api/getTecInterviewTechStackCount',
    {
      method: 'POST',
      headers: {
        'Content-Type': 'application/json',
      },
      data: body,
      ...(options || {}),
    }
  )
}

/** getTecInterviewTechStackQuestion POST /api/getTecInterviewTechStackQuestion */
export async function getTecInterviewTechStackQuestionUsingPost(
  body: API.GetTecInterviewTechStackQuestionRequest,
  options?: { [key: string]: any }
) {
  return request<API.BaseResponseListAiQuestion_>('/api/getTecInterviewTechStackQuestion', {
    method: 'POST',
    headers: {
      'Content-Type': 'application/json',
    },
    data: body,
    ...(options || {}),
  })
}

/** submitInterviewExperience POST /api/submit/InterviewExperience */
export async function submitInterviewExperienceUsingPost(
  body: API.SubmitInterviewExperienceRequest,
  options?: { [key: string]: any }
) {
  return request<API.BaseResponseBoolean_>('/api/submit/InterviewExperience', {
    method: 'POST',
    headers: {
      'Content-Type': 'application/json',
    },
    data: body,
    ...(options || {}),
  })
}

/** submitInterviewExperienceComment POST /api/submit/interviewExperience/comment */
export async function submitInterviewExperienceCommentUsingPost(
  body: API.SubmitInterviewExperienceCommentRequest,
  options?: { [key: string]: any }
) {
  return request<API.BaseResponseBoolean_>('/api/submit/interviewExperience/comment', {
    method: 'POST',
    headers: {
      'Content-Type': 'application/json',
    },
    data: body,
    ...(options || {}),
  })
}
